package com.graduation.dao;

import com.graduation.entity.Business;
import com.graduation.exception.FileAlreadyExitsException;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/*
 *@Author:君上
 *@Date 2022/3/15 9:20
 *@Content:
 */
@Mapper
public interface FileUploadDao {
    /*上传的图片名称以及保存的商店名*/
    Integer insertGoodsInfo(@Param("fileName") String fileName, @Param("shopName") String shopName)
            throws FileAlreadyExitsException;
    /*查询id*/
    Integer queryShopName(String email);
}
